package com.tdk.bts.service;

import com.tdk.bts.entity.BookInfo;
import com.tdk.bts.util.Page;
import com.tdk.bts.vo.BookInfoVO;
import com.tdk.bts.vo.BookVO;

import java.sql.SQLException;
import java.util.List;

public interface BookInfoService {
     String getValidCode(int screenId, String[] seats, String phone) throws SQLException;

     BookInfoVO getTicket(String phone, String validCode) throws SQLException;

     Page<BookVO> findBookVOByPage(int pageNo) throws SQLException;

     List<BookInfo> findBookInfoByScreenId(int id) throws SQLException;
}
